package chapter04.demo3;
abstract  class Animal{
    abstract void shout();
}
class Dog extends Animal{
    void shout(){
        System.out.println("汪汪...");
    }
}
public class example {
    public  static  void  main(String[] args){
        Dog dog = new Dog();
        dog.shout();
    }
}
